<?php /* Smarty version Smarty-3.1.18, created on 2015-12-10 15:04:10
         compiled from "/Applications/MAMP/htdocs/yfqiaqia/Admin/View/Sys/website.html" */ ?>
<?php /*%%SmartyHeaderCode:912200652566923ead633d5-45715272%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '384b3c937c976fa0bf01155fa8a9665b296ac121' => 
    array (
      0 => '/Applications/MAMP/htdocs/yfqiaqia/Admin/View/Sys/website.html',
      1 => 1445500844,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '912200652566923ead633d5-45715272',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    '_C' => 0,
    '_L' => 0,
    'setting' => 0,
    'tpl_list' => 0,
    'tpl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_566923eb0a1164_02545896',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_566923eb0a1164_02545896')) {function content_566923eb0a1164_02545896($_smarty_tpl) {?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css" />
	</head>

	<body>
		<div class="am-g">
			<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['DOMAIN'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="domain" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['domain'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['DOMAIN'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_NAME'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="site_name" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['site_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_NAME'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_KEYWORD'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="site_keyword" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['site_keyword'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_KEYWORD'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_ABS'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="site_abs" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['site_abs'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_ABS'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['COPYRIGHT'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="copyright" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['copyright'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['COPYRIGHT'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['ICP'];?>
</label>
						<div class="am-u-sm-9">
							<input type="text" name="icp" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['icp'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['ICP'];?>
">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_DES'];?>
</label>
						<div class="am-u-sm-9">
							<textarea class="" rows="5" name="site_des" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_DES'];?>
"><?php echo $_smarty_tpl->tpl_vars['setting']->value['site_des'];?>
</textarea>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SITE_LOGO'];?>
</label>
						<div class="am-u-sm-9">
						<div class="am-u-sm-8">
							<input type="text" name="site_logo" class="am-input-sm thumb" value="<?php echo $_smarty_tpl->tpl_vars['setting']->value['site_logo'];?>
">

						</div>
						<div class="am-u-sm-2">
							<img id="hy-thumb"  style="height: 30px;" <?php if ($_smarty_tpl->tpl_vars['setting']->value['site_logo']) {?>src="<?php echo $_smarty_tpl->tpl_vars['setting']->value['site_logo'];?>
" <?php } else { ?> src="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
images/logo2.png" <?php }?>>
						</div>
						<div class="am-u-sm-2 am-u-end">
							<button class="am-btn am-btn-primary am-btn-xs hy-js-uploadimg">上传</button>
						</div>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['WAP_SUPPORT'];?>
</label>
						<div class="am-u-sm-9">
							<div class="am-btn-group" data-am-button="">
								<label class="am-btn am-btn-default am-btn-xs  <?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']) {?><?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']==0) {?> am-active<?php } else { ?><?php }?><?php } else { ?> am-active<?php }?>">
									<input type="radio" name="wap_support" value="0" <?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']) {?><?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']==0) {?> checked="checked" <?php } else { ?><?php }?><?php } else { ?> checked="checked" <?php }?> id="option1"> <?php echo $_smarty_tpl->tpl_vars['_L']->value['CLOSE'];?>

								</label>
								<label class="am-btn am-btn-default am-btn-xs  <?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']==1) {?>am-active<?php } else { ?><?php }?>">
									<input type="radio" name="wap_support" <?php if ($_smarty_tpl->tpl_vars['setting']->value['wap_support']==1) {?> checked="checked" <?php } else { ?><?php }?> value="1" id="option2"><?php echo $_smarty_tpl->tpl_vars['_L']->value['OPEN'];?>

								</label>
							</div>
						</div>
					</div>

					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label"><?php echo $_smarty_tpl->tpl_vars['_L']->value['HOME_TPL'];?>
</label>
						<div class="am-u-sm-9">
							<div class="am-btn-group" data-am-button="">
								<?php  $_smarty_tpl->tpl_vars['tpl'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tpl']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['tpl_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tpl']->key => $_smarty_tpl->tpl_vars['tpl']->value) {
$_smarty_tpl->tpl_vars['tpl']->_loop = true;
?>
								<label class="am-btn am-btn-default am-btn-xs <?php if ($_smarty_tpl->tpl_vars['setting']->value['home_tpl']==$_smarty_tpl->tpl_vars['tpl']->value) {?>am-active<?php } else { ?><?php }?> ">
									<input type="radio" name="home_tpl" <?php if ($_smarty_tpl->tpl_vars['setting']->value['home_tpl']==$_smarty_tpl->tpl_vars['tpl']->value) {?>checked="checked" <?php } else { ?><?php }?> value="<?php echo $_smarty_tpl->tpl_vars['tpl']->value;?>
" id="option1"> <?php echo $_smarty_tpl->tpl_vars['tpl']->value;?>

								</label>
								<?php } ?>
							</div>
						</div>
					</div>
					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<button type="button" class="am-btn am-btn-primary hy-js-submit"><?php echo $_smarty_tpl->tpl_vars['_L']->value['SAVE'];?>
</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<script type="text/javascript">
			hy_uploadimg('/sys',{},function(result,_this){
		    	if(typeof(result[0])!='undefined')
		    	{
		        	_this.parent().parent().find('#hy-thumb').attr('src',result[0]);
		        	_this.parent().parent().find('input.thumb').val(result[0]).focus();
		       }
		    })
			   hy_submit('index.php?g=admin&m=sys&a=saveSetting&type=site_info');
		</script>
	</body>

</html><?php }} ?>
